home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_06_08
/
v6n8026a.txt
< prev
next >
Wrap
Text File
|
1989-09-26
|
1KB
|
43 lines
Example: lint > temp -i:INCLUDES/ +vm sl-lc main.c mod1.c mod2.c
lint >temp +vm -iIncludes sl-lc.c foo.c
FIGURE ONE
┌───────────────────────────────────────────────────────────┐
│ Lint for the Amiga 2.00j - Copyright Gimple Software 1987 │
│ │
│ File lines.c, Line 138 │
│ if(((rand() >> 5) & 127) < 2) │
│ ^ │
│ Informational 704: Shift of signed value │
│ │
└───────────────────────────────────────────────────────────┘
Examples: -e7?? would turn off all level 700 informational messages.
+e7?? would turn them back on.
-libarary would treat the following code as library declarations
and suppress messages about unused declarations.
+fva would set the variable arguments flag on.
Examples: /*lint -save -e544 -library */
/*lint +fva Amiga Lint command */
/* VARARGS */ /* The same SYS V Lint command */
/*lint -save -e544 -library */
#include <stdio.h>
#include <exec/types>
#include <intuition/intuition.h>
/*lint -restore */